home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Essential Home & Business Collection
/
The Essential Home & Business Collection.iso
/
27
/
3
/
5
/
HP22D5.ZIP
/
EXTERN
/
IO.H
< prev
next >
Wrap
Text File
|
1991-04-16
|
533b
|
15 lines
#define READ 0
#define WRITE 1
#define READ_WRITE 2
#define FROM_BEGINNING 0
#define FROM_CURRENT 1
#define FROM_EOF 2
extern int cdecl open(STRING,BYTE); /* file_name,file_access */
extern int cdecl create(STRING); /* file_name */
extern int cdecl close(int); /* file_handle */
extern int cdecl read(int,void *,int); /* fille_handle,pBuf,num_bytes */
extern int cdecl write(int,void *,int); /* file_handle,pBuf,num_bytes */
extern DWORD cdecl lseek(int,long,int); /* file_handle,distance,from_position */